<h1 mat-dialog-title>
  {{"Save command"| translate}}
</h1>

<div>
  <mat-form-field style="width: 100%;">
    <input [(ngModel)]="name" matInput required placeholder='{{"Name"| translate}}' name="fontSize" max="60" >
  </mat-form-field>
  <mat-form-field style="width: 100%;">
    <mat-select [(value)]="module"
                placeholder="{{'Module'| translate }}">
      <mat-option *ngFor="let type of commandModules" [value]="type.value">{{type.label}}</mat-option>
    </mat-select>
  </mat-form-field>
</div>


<div style="float: right; padding-top: 20px">
  <button mat-raised-button color="primary" (click)="onSubmit()">{{"Confirm"| translate}}</button>
</div>
